<body>
<div class="path fn-clear"><span class="fb">首页</span><a href="{url('special/index')}">资源特性</a>{$path}</div>
<div class="button-nav"><a href="###" url="{url('special/add',array(id=>$pid))}" class="button button-blank win" title="增加资源特性"><i class="iconfont" title="增加资源特性">&#xF023;</i> 增加资源特性</a>
</div>
<div class="m5">
<table class="table table-bordered table-striped" width="100%">
<thead><tr><th class="w20 fn-tac">#</th><th class="fn-tal">特性名称</th><th class="w60 fn-tac">类型</th><th class="w120 fn-tac">创建时间</th><th class="w80 fn-tac">操作</th></tr></thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac">{$vo['id']}</td>
    <td><a href="{url('special/index',array(id=>$vo['id']))}">{$vo['name']}<a/></td>
    <td class="fn-tac">{if $vo['cid']}私有{else}公用{/if}</td>
    <td class="fn-tac">{date('Y-m-d H:i:s',$vo['uptime'])}</td>
    <td class="fn-tac tip">
        <a href="###" title="编辑" class="win" url="{url('special/edit',array(id=>$vo['id']))}">编辑</a>/<a href="###" title="删除" class="del" url="{url('special/index',array(id=>$vo['id'],act=>del))}">删除</a>  
    </td>
</tr>
{/loop}
</tbody>
</table>
</div>
<div id="page" class="right m5">{$page}</div>
<script type="text/javascript">
Do('base','Dialog',function(){
  $(".win").click(function(){
    $(this).cpWindows();
  });
  $('.del').click(function(){
    $(this).cpDelete();
  });
})
</script>
</body>